$OpenBSD: patch-main_u_c,v 1.2 2005/11/14 02:03:20 cathcart Exp $
--- main_u.c.orig	Sat Jan 15 20:08:51 2005
+++ main_u.c	Tue Nov  8 13:00:55 2005
@@ -252,7 +252,7 @@ main(int argc, char **argv)
 
 #if !defined(__dos)
 	if (is_locale_utf8()) {
-#if defined(__STDC_ISO_10646__)
+#if defined(__STDC_ISO_10646__) || defined(__OpenBSD__)
 		/*
 		 * If the user wants UTF-8 and the envirionment variables
 		 * support UTF-8, than set the locale accordingly
